<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Ruby Installation: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="description" content="Ruby Study Notes - Best Ruby Guide, Ruby Tutorial" />
    <meta name="keywords" content="ruby installation,free ruby programming guide,ruby guide,free ruby programming course,best ruby guide,ruby tutorials,ruby tutorial,learn ruby,ruby,ruby on rails,ruby rails,ruby learning,ruby tutoring,learning ruby,ruby programming,ruby on rails development,ruby training" />
    <meta name="Distribution" content="Global" />
    <meta name="author" content="Satish Talim / Original design: Erwin Aligam - ealigam@gmail.com" />
    <meta name="copyright" content="Satish Talim 2007 and beyond..." />
    <meta name="verify-v1" content="rFu86se+IkbtF+bH8mgJBKwU5HnKaSd8Ghw9umXQOkM=" />
    <meta name="robots" content="index,follow" />
    <meta http-equiv="Expires" content="0" />
    <meta name="revisit-after" content="1 days" />
    <link rel="stylesheet" href="/images/NewOrange.css" type="text/css" />
    <link rel="icon" type="image/ico" href="/images/favicon.ico" />

    <!-- Google +1 button code -->
    <link rel="canonical" href="/satishtalim/ruby_installation.html" />
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

    <!-- Google Analytics code -->
    <script type="text/javascript">
     var _gaq = _gaq || [];
     _gaq.push(['_setAccount', 'UA-59044-10']);
     _gaq.push(['_trackPageview']);

     (function() {
       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     })();
    </script>
    <!-- Google Analytics code ends -->
  </head>

  <body>
    <!-- wrap starts here -->
    <div id="wrap">

      <div id="header">

        <h1 id="logo">Ruby<span class="orange">Learning.github.io</span></h1>
        <h2 id="slogan">Helping Ruby Programmers become Awesome!</h2>

      </div>

      <div id="menu">
        <ul>
          <li><a href="/" title="Home page for rubylearning.github.io">Home</a></li>
          <li><a href="/satishtalim/tutorial.html" title="Get started Learning Ruby here...">Tutorial</a></li>
          <li><a href="/download/downloads.html" title="Download this tutorial as an eBook">Downloads</a></li>
          <li><a href="/other/testimonials.html" title="People around the world who benefited from this site">Testimonials</a></li>
          <li><a href="/other/certification.html" title="Get certified in Ruby">Certification</a></li>
          <li><a href="/satishtalim/ruby_guide.html" title="Ruby Guide, Mentor">Mentor</a></li>
          <li><a href="https://blog.rubylearning.github.io/" title="Ruby blog of Learning Ruby site">Blog</a></li>
          <li><a href="/satishtalim/tutorial.html" title="Online Ruby Course">Online Course</a></li>
          <li><a href="http://ruby-challenge.rubylearning.github.io/" title="Ruby Programming Challenge for Newbies">Challenge</a></li>
          <li><a href="/satishtalim/about.html" title="Information about Satish Talim">About</a></li>
        </ul>
      </div>

      <!-- content-wrap starts here -->
      <div id="content-wrap">


        <div id="main">
          <!-- google_ad_section_start -->
          <div id="main-inner"><a name="TemplateInfo"></a>
            <h1>Ruby Installation</h1>

            <p class="post-footer align-right">
              <strong>
                <a href="/satishtalim/introduction.html">&lt;Introduction | </a>
                <a href="/satishtalim/tutorial.html">TOC | </a>
                <a href="/satishtalim/first_ruby_program.html">First Program&gt;</a>
              </strong>
            </p>

            <p>Ruby is a cross-platform, interpreted and object-oriented language. Ruby has been designed on the Principle of Least Surprise - Matz says "I wanted to minimize my frustration during programming, so I want to minimize my effort in programming. That was my primary goal in designing Ruby. I want to have fun in programming myself. After releasing Ruby and many people around the world got to know Ruby, they said they feel the way I feel. They came up with the phrase <em>the principle of least surprise</em>."<br /><br />The year 2004 saw a massive surge of interest in Ruby, with the introduction of the Ruby on Rails Web application framework by David Heinemeier Hansson.</p>

            <p class="post-note">
              Yukihiro Matsumoto, commonly known as 'Matz' created the Ruby language in 1993. An <a href="http://www.linuxdevcenter.com/pub/a/linux/2001/11/29/ruby.html" >interview with him</a> in 2001, talks about the history of Ruby. Matz's "<a href="http://www.artima.com/intv/ruby.html">The Philosophy of Ruby</a>" is another good read.
            </p>

            <h3>Downloading Ruby</h3>

            <p>As an open source language, Ruby has been ported to run on many different computer platforms and architectures. This means that if you develop a Ruby program on one machine, it's likely you'll be able to run it without any changes on a different machine. You can use Ruby, in one form or another, on most operating systems and platforms.</p>

            <p>In this course, we will be using latest version of Ruby 2.</p>
            <p>There are multiple ways to install and manage Ruby. If you are on Windows, the simplest way to get Ruby installed is by using the <a href="http://rubyinstaller.org/" >Ruby Installer for Windows</a>. Download the latest version of Ruby 2. After you have downloaded this, double-click this file and install Ruby on your PC, accepting all the defaults. After you have installed your Ruby software, the System Environment Variable path is already set to point to the bin folder of Ruby. <em>Always check whether this has been set properly or not. If not, set it externally.</em> If you are on a UNIX-like operating system like Linux or Mac OS X, then you can either use <a href="https://github.com/sstephenson/rbenv#readme">rbenv</a> with <a href="https://www.ruby-lang.org/en/documentation/installation/#ruby-build">ruby-build</a> or <a href="http://rvm.io">RVM</a>, or <a href="https://github.com/postmodern/chruby/blob/master/README.md">chruby</a>. We don't recommend installing Ruby via package managers on UNIX-like systems as the Ruby versions available via package managers might be outdated. More information on various installation options with detailed explanation can be found <a href="https://www.ruby-lang.org/en/documentation/installation/">here.</a></p>

            <h3>Downloading an Editor</h3>
            <p>You can use any editor you like, as long as it's a plain-text editor (and not a word processor) and a directory (a.k.a. a folder) in which to store your Ruby program files. The folder is separate from other work areas so that you can keep track of your practice program files.</p>
            <p>Do not hesitate to ask any questions related to installing and setting up Ruby or an Editor correctly in the forums.</p>

            <p style="background-color: #FAFAFA; padding: 5px; margin-top: 20px; font-size: 65%;"><strong>Note</strong>: The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. I have made extensive references to information, related to Ruby, available in the public domain (wikis and the blogs, articles of various <span style="font-weight: bold;" title="Click Gurus on the menu above">Ruby Gurus</span>), my acknowledgment and thanks to all of them. Much of the material on <a href="/">rubylearning.github.io</a> and in the course at <a href="http://rubylearning.org/">rubylearning.org</a> is drawn <strong>primarily</strong> from the <strong>Programming Ruby book</strong>, available from <a href="http://pragprog.com/book/ruby4/programming-ruby-1-9-2-0">The Pragmatic Bookshelf</a>.</p>

            <p class="post-footer align-right">
              <strong>
                <a href="/satishtalim/introduction.html">&lt;Introduction | </a>
                <a href="/satishtalim/tutorial.html">TOC | </a>
                <a href="/satishtalim/first_ruby_program.html">First Program&gt;</a>
              </strong>
            </p>

          </div>
          <!-- main inner ends here -->
        </div>

        <div id="rightbar">

        </div>

        <!-- content-wrap ends here -->
      </div>

      <!-- wrap ends here -->
    </div>

    <!-- footer starts here -->
    <div id="footer">
      <!-- CHANGE THE FOOTER -->
      <p>&copy; 2006-2021 <strong>rubylearning.github.io - A Ruby Tutorial</strong>&nbsp;&nbsp;Page Updated: 5th Jan. 2021 | Design: <a href="mailto:ealigam@gmail.com">Erwin Aligam</a> | Valid: <a href="http://validator.w3.org/check/referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/">Home</a> | <a href="/privacy.html">Privacy</a> | <a href="/sitemap.html">Sitemap</a></p>
    </div>
    <!-- footer ends here -->

  </body>
</html>
